made some bug fixes in batch request and added tests for all transaction types, remaining tests are mechatest, and closeRequest