Covered flip_x by unittest.