fixing reference to viewEngines object in mojito-client that were breaking some func tests