Consolidate response handling & add tests for GetFiles

[#81035386]

Signed-off-by: Eric Malm <emalm@pivotal.io>