added functionality to take practice test and validate results