add View creation unit tests