Converted safe_evaluator minitest to spec