Fixed compile error in the visual test.