Added isNode() function to check if a node is a valid node of the list
Added a testing function for isNode() and updated the exception tests. The latter still doesn't work for some reason :/