Complete basic addChild method
Update test cases for addChild method