[BUGFIX] Fix incomplete mocking in ResourceStorage test