Added a test function for retrieving links from a webpage, stored in an array of Elements