fix tests related to the transformer

Fix transform tests (mentioned in https://github.com/dart-gde/chrome.dart/issues/193).