switching the test results to a view