added lowercase validation and test

next time make sure your pull request contains all of your code.