fix(tests): Workaround dart2js bug.