NXP-14686: Create a unit test to show the removeChildren problem, the unit test is commented
NXP-14686: Add an error log when repository is not cleanup properly