more tests
cleanup the path detection