Unit tests for lists