Refactored model to its own project
Caught and fixed metadataTest that failed with infinite loop when UserPartial wasn't recognized in query payload.