Add test for PR #9