Unit test for Links, .destroy bug fix