changed .delay to .deliver to testing