added lowercase validation and test

put a space after length