fix bash path unit testing