testcases for #188