Changed tests to be more robust, added test for destroy method

Changed links in test to use a placeholder variable rather than static text, added testing for destory method