Tidying the setUp method
Used a new variable instead of overwriting $config
Removed the ObjectRepositoryInterface from the UserRepository implementation
Updated the validator factories to use the native ObjectRepository from doctrine