add tests for list and list shorthand