fix native view tests