view and layout assertions for test helper