adding testcases for #36