added tests, added link to edit feature