Modifed index and new view in Test
initialized tests layout in pdf