add View delegation unit tests