Set mocks to private.
Add tests for addChild