results page and fail test functionality