testing superclass inheritance