Added a simple test case to demonstrate the issue #350