add test for pr 548