update test for scaleFitWidth and scaleFitHeight