Add a proper test case for #89