test case and result view