Scan tests: skip tests if optdone is a bool