tests for index and show
Merge pull request #7 from MattFlaig/bug2

tests for index and show