more testcase coverage for teacher views