PR #1383 from @bgok More unit tests for pinned columns.