Add tests for outputting referenced column of vector reference column

XML output for this case has also a problem. And it had been fixed in
eaafa38d0cbcf3d7007fab0cb2c2470c831e6cde.