Add test for editLink option