added function transform error test