Added test for #614