Fix unittests

d->mView && d->mView - did not we fixed it in previous review?