modified testcases according to comments