test cases in ptest