Fix CPViewTest