Improve coverage.

Improves coverage to 100%.

Also, I noticed that the modifications to the variable C in getRot only seem to work in the context of the conditional, so I added braces.