Add regression test for #270

CC: @zw963