Adding initial tests for index view