implement isLowecase and isUppercase
add tests for isLowercase and isUppercase