[TF-M] [RFC]Patches for migrating testing codes from TF-M to tf-m-tests