Improve handling of ANSI codes in test output
Generate source maps for release builds