REFACTOR: Need to intercept System.exit codes to detect proper error codes. Renamed main() to non-static execute() and using an instance of MarkupCalculator to call it in existing tests.