add tests for colordata and builder