tests for list