Improving test cases