Add reduced test case for issue #51