correcting the call to finish and fail with proper testing
replacing some client.get by multiple gets to reduce callback hell in the test