Fix tests for web driver that considers a path with no lines to not be a path