Added unit tests for simple nested aggregates