removing redundant prints in print_results
fixing broken unit tests
applying link filter if it exists; simplifying unit tests