Added test for #286, which passes