Object-orientation and tests