Enabled indexOf test, added some docs and todos