LAYER: added tests for flag and color settings.

Signed-off-by: bert <bert.timmerman@xs4all.nl>