added tests from benmachine mathmo repo