Added rotation and scaling to Tests.

Also fixed Window::clear.