Added tests with lists and anon objects