added testcase for #139