Re-add image retrieval test, and add a special response_handle_binary method.