Refactoring of tests for bulk operations.