add JUnit test for create group