created test for add links