added mathex tests