Added some more tests, however getAll in commitment and event entity manager need their tests to work.