tests for #427
fix #427