implement service tests