Added batch_request unit test and refined the new unit test style.