simple test case for #607