Fix a local variable name

cursor_width  ->
cursor_height
       ^^^^^^
Add a test for Window#draw