more tests for lists, solutions for functions