cater for recursive test structures

added test_files method to Component
fixed bug in StandardPaths#determine_headers

multiple header extensions now recognized