Added test for custom index file name.
refs #1