CB-5405: Update tests to work with URL paths in File objects