fixed test to test method