added test for counter service