Removed Unit Test target, fixed indentation, and unified toCGColor function for both platforms.