Unit tests for batch mutations