added edit, show and new tests
index tests