add test NewViewSpec