Increase test coverage

Add back in an accidentally removed test and don't cover a line that would only happen if the pattern changed.

Part of #40 
Good catch.