adding test method