added a test related to issue 26

This test caused the infinite recursion behavior described in issue 26