working test cases