Consolidate modulemd file content tests
The tests currently only cover two input scenarios
(grep and grep+mariadb). To speed up the tests,
only run each file generation once, and then make
multiple assertions about it in a single consolidated
test case.