yeah, that test for indexOf can be removed, IIRC it was actually failing some tests without it though