update the test pseudo-code.