added tests to groups
added tests for in_state
added test for syncrhonize method