Added test for flatten plain lists.