added test for functionalgroup service.