generate the final test answer