Basic tests of the linked list:

Tests of the query() function:

Tests of exceptions:

Memory leaks and errors: