refs #7529 fixing "Unused Q-mode warning"

And added a template for 5D unit test
refs #7529 fixing ConvertToMDComponentsTest