fixed case sensitivity check
added more test cases and test results output