test case for #278