fix test method