test record trace