added test for startsWith