Added test to validate issue #12