Adding the test case for #287 (oh memory...)