tests for final path and final url before effective request