Test for serviceTask