change service_test to typed test