updated unit tests. added color-mode for compilation