more work on coloring. added a simple test