Added test for #143 to regression tests