added registry test to verify child widgets are removed