test_waldtest function

runs a Wald test using the Waldtest() function of eRm.