finalize tests