Test case for issue #424