added lowercase validation and test