This expectation will fail, it doesn't match with the documentation:

@param block Make changes to CoreData objects in this block using the passed in localContext. The block will be performed on a background queue, and once complete, the context will be saved.