add test for atomic batch operations

blow up on the second of 3 items,  the the 2 good items shouldn't be in the database