Added test to demonstrate issue #2.
Fix rotations.

This can be cleaned up. However fixes #2.