Fixed an error when the record was not retrieved
Testing offline
Refactored tests
Added compat fix for 'get' and 'download' operations