test case for #118.