adding a test for batch actions