added testcases for part 1