initial unit tests for colour.c