Added test cases for StringUtils.endsWith. Also changed endsWith to return a boolean.