Unit test for List

Added List unit tests for single and multiple nodes
fixed some exception bugs
If you don't do any further asserts, just make use of @Test(expected=IndexOutOfBoundsException)