fix test suggested in issue #45