Adding a test for illegal exe.type argument.
Adding test for a hazard rate fit.