wrote test for Issue #1