Fix DI bug with view prototype inheritance

Testcase isn't correct. Parentview and Childview are always have different proyotypes.