Added edit_spec file & tests, added id selector to index view