a test simulator