Unit test for List

Added List unit tests for single and multiple nodes
fixed some exception bugs
I agree, this test isn't particularly useful unless you want to test the JVM :)