add error handling to parts extraction.  improve hashname tests.