Unit test for List

Added List unit tests for single and multiple nodes
fixed some exception bugs
I would make a few tests:
testContains_whenExist
testContains_whenListEmpty
testContains_whenNull
testContains_whenNotExist