add viewName rewrite test