Define testHelper using AMD