added testcase for #112