math helpers tests