Trying to move the operand generation out of the test function.