Making sure that both global and local bindings work