Added test for #245