Testing logistic_function macro