More unit testing work. Finished tests for list handling.