added feature tests for index and show pages