Automated all the testcases