Getting content of response in travis test