sync
Added failing test for #336