Merge "Add unit tests for mw.format()"