[batch] added get response method
[batch][test] added test methods for getResponse method