Minimized test case for issue #36