check for ambiguous setting of both color and linecolor etc. and add unit tests