Add regression test for list brackets in extended name notation