Merge "Adds more test to cover Swift tempURL middleware"