fix unit tests broken by mbinput->$modal dependency.