UTs for adding Child Contracts, and testing exception for non-existent child
Fixing support for child contracts and setting parent id

Along with enahnced UTs.