Add a test corresponding to issue #28