Added generating test cases functionality and testing test cases and generating actual output functionality.