Writing Test Cases In Python