IndexOf formula: adding a simple unit test

Signed-off-by: Kunal Shroff <shroffk@bnl.gov>
Merge pull request #1 from shroffk/master-tonlyttt

IndexOf formula: adding a simple unit test