some tests for list functionality