Made changes to test code and added testing for the upper case letters