A test simulator