update tests and update linked list search function