Testing local variable scope on dispatch pattern.