Merged testing on the normal and logit model into one function.