updated batch reactor to behave as expected for inpro and added a test file to confirm it works over two cycles