fix test method now contain self