add failing rotation tests
pass rotation tests
refactor scaleAndRotate