Update translation tests to support "import * as" syntax.