Added tests for class Cylinder, which is a subclass of shape.