Adjusting pathOrContent test