Correct dependencies when running tests to fix invalid body code
refs #2612: Fixed bug in tests (body/tags). Found bug in path processing