wrote some basic tests for the index view
added test for contact page