Added tests for cp acquisition and batch inserts