Sample of a test_modfile.sh port to FileCheck to support an RFC
Summary of changes:
- Create module files in a temporary directory using -module to isolate the tests from eachother.
- Use ls and wc to replace test_modfile.sh's check that no additional modules were created.
- Separate, explicit RUN line to check each module content with FileCheck.