test function for colormap bug