Add test for visual mode