removed dependency on DoctrineORMModule, added tests