Testing object and concrete classes