created test for adding links and updated index and server file