Unit test and refactor our case insensitivity.