add test for color coding on front-end