Added optional detailed and save arguments to add_testcase()
Make each test case only once in wormup

Thus, test cases are graded only once.