Added unit tests
Refactored tests and added new test case
Added code to pass test case TestGroups.test_get_groups
Created Group class
Renamed tests and added test_set_group_state
Added code to pass test_set_group_state