Added teh object oriented test of is-a and has-a relationship between classes and objects