Added test for PR #7