Bulk() unit test and integration tests