renamed fileutil test, using pytest instead of nose, test for path_head