added deps property to widget container, added test that preload widget in dependence map