added more test case for isStartsWith and isEndsWith valdiator