Uses ruby_block for patch test to delay execution until convergence