Added test for coloredpointfactory.