Cleaned up an unused variable; wrote a missing test.

Whitespace cleanup.
Probably no excuse not to release this now.