add test for nested list writing with preceding element

Add test for nested list writing with preceding element. This case is currently broken w/ the latest in develop.