make the tests actually work and add one for indexOf