tests for issue #273