Added test for the issue #359