Conformance Testing of Mealy Machines Under Input Restrictions