Using `functionArgs` and `intersectAttrs`, apply only the required args to test module files.
Change-Id: I1caf76d5a6bdd7b1bb9fecfb142a3af1f0b00bd6