Went through testcases