default queueing and improved way to pass config and block used in rspec test