added a test for bug #281