Only check test private data if --check is passed.