add tests for get endpoints for when records file does not exist