added do test and show results functionality