Methods of establishing an insulin delivery rate in a pump and an insulin pump are disclosed. A method includes selecting a set of alerts from one or more sets of alerts. The method also includes initiating a test process based on the set of alerts. The method further includes, upon activation of each alert in the selected set of alerts, prompting a user to input a blood glucose level.