Added unit tests for ES aggregate root