added deviance lack-of-fit test