Test harness code.