Tests and documentation fixes for Bulk API