Test mutateSource module.

Note that `swapKeywords()` and `convertTokensToKeywordCall` are still untested as those are being worked on by @xl76.