Added --clean and --no-log options for widget test script.