Unit tests for waf, including logging and fancy output.