Fix tests for deprecated Color constructors.