Adding unit tests for group