Adding unit tests of inheritance 03