Fix View unittest