Unit test for issue #260