Added indexOf() test