added tests for C_palette