Added minimal test case for issue #140