finish the testonlinebatch test and make the response work