You can always use reflection...
If your master page has a Method Called test with no params, i.e.:
public void Test()
{
//Do something
}
Then you can call it like this:
MasterPage myMaster = Page.Master;
myMaster.GetType().GetMethod("Test").Invoke(myMaster, null);