Write code for correlating tests