Added test for #332, already passes without pull