Imported Scott's turbo prototype test code.