reusable testcase view