Unit test for List

Added List unit tests for single and multiple nodes
fixed some exception bugs
We don't want to assert the size here; we need to trust that add works.