test works now
change debug level for verbose head
add another test
fix bug in remove-path-from