added test for evalm()