added simple tests for index and new page