CON-2283: add unit tests for getColorAlpha