added tests for group API
fixed missing implementation of