Test dependency files only depend on headers (ref #74)
Simplified dependency file generation for tests using temp file (ref #74)