Added a unittest that calculates if composite ops are associative
Results:
COMPOSITE_OVER is associative
COMPOSITE_MULTIPLY and COMPOSITE_SCREEN *in some cases* are almost associative.
The rest are not :(