Fix DI bug with view prototype inheritance

Problem only with testcase. If  revert logic functionality test will be pass. Testcase test nothing, i think. I can mistake, because can't check anythink at this moment, but my "brain intepreter" says that testcase should fails without fixing this bug.