Unit test for List

Added List unit tests for single and multiple nodes
fixed some exception bugs
What is the clusterlisttest supposed to do? Test how the the list works in a cluster?