Added test for edit link