test cases explained