Added a test for issue #421