Cylinder class unit tests.