Added test for no path condition
Added fix where path functions didn't return no-path error to user