Added testcases for problem 1.2