Added script and modified test cases to generate coverage