Add method setTestData to TestService