test cases improvement