Tests for list (non-)flattening