add unit test to be sure we detect recursive call and prevent Stackoverflow when using debug mode

git-svn-id: https://svn.apache.org/repos/asf/incubator/sirona/trunk@1572415 13f79535-47bb-0310-9956-ffa450edef68
better with adding test class :-)

git-svn-id: https://svn.apache.org/repos/asf/incubator/sirona/trunk@1572416 13f79535-47bb-0310-9956-ffa450edef68