Added main lines to run each test case.