Fix tests subdirectory for ResourceT in Persistent types (Mongo version)

Mongo-specific version of the other pull request I just submitted