Testing Object Oriented Principles