bug fixed & test case update

1. fixed bug for  `addPartClasses`/`removePartClasses`
2. child control support
3. update test case