added sanity tests and color printing