added option to show only last test record