         }
         XCTAssertNotNil(tabBar.shadowImage) // Image is modified
         XCTAssertNotNil(tabBar.backgroundImage) // Image is tiled to fit
+        XCTAssertEqual(tabBar.layer.cornerRadius, 5)
     }
     
     func testToolbar() {
         let toolbar = CustomToolbar()
         toolbar.refresh()
         XCTAssertEqual(toolbar.barTintColor, TestColor.first)
-    }
-    
-}
+        XCTAssertEqual(toolbar.layer.cornerRadius, 5)
+    }
+    
+}

        XCTAssertEqual(button.currentBackgroundImage, TestImage.second)
        XCTAssertEqual(button.currentTitle, TestText.first)
        XCTAssertEqual(button.titleLabel?.textAlignment, TestTextAlignment.first)
    }

    func testSegmentedControl() {

        imageView.refresh()
        XCTAssertEqual(imageView.image, TestImage.first)
        XCTAssertEqual(imageView.highlightedImage, TestImage.second)
        XCTAssertEqual(imageView.layer.cornerRadius, 5)
    }
    
    func testLabel() {
