[AS7-6334] add expression testing to the transaction module

* make sure only attributes that have allowed expressions since legacy versions are rejected by the transformers