added test for restore
unsuccessful sync test
added TaskList.getInstance and checkSyncSupport
added two more testcases and comments

testcase:
- testQuickAddCommand
- testAddCommandInvalidParam
added comments and cleaned code
Merge remote-tracking branch 'origin/master' into chunhui
Made tiny changes to MarkTest RestoreTest
Merge remote-tracking branch 'main/chunhui'