created test method