Tests for main view and view event controller

fning