fix test code for fighter