test(transformer): fix obsolete syntax

Seems like TravisCI does not execute those tests ?