added test for startwith &endwith