adding testcases d015 & d018