#1090 Optimized logic of loading child widgets, new logic used to validate child widgets removal from parent widgets; fixed contents tests