Stop path comparison failing due to timing issues

We cannot rely on the cachebust timestamp in the assertion  being the
same as when the page was originally rendered.