Test restricting action to specified address.