Add tests for previously unexercised code.