Fixed the new unit test for download a file with session with the correct configuration