Checks the issue #35

Added code that reproduces the issue #35