object oriented test