Adding test for lists