Fix tests
Move namespace of doctrine events