add test for findIndex method, ready for code
Merge pull request #3 from alexconway808/master

add test for findIndex method, ready for code