I hope that you are sorted and everything is settling down..
I was adviced in your situations with an unexpected high reading..
Take a correction does via pen/syringe rather than using the pump bolus..
Check the tubing to see if any bubbles are present (as often this can be the cause of an high) if bubles are present, detach the tubing and prime clearing bubbles
If no bubbles are present, check that the tubing isn't blocked, by detaching from infusion set, then prime you will need to ensure that around 3 units+ if there is a blockage in the tubeing then this should set the alarm off on the pump
if no blockage on tubing, check the infusion site does the cannualr appear to be inserted correctly, is the infusion site red or lumpy in any way ect..
If in doubt change the whole lot...
I have the Accu-chec spirit pump, if you switch it off then back on again, it automatically self tests, I think that all pumps run a self test when turning on...
As to dealing with the ketones, follow your sick day rules, check every bg every 2 hours, and correct if necessary (if your BG is over 14mmol/ml then it's better to correct with an injection rather than the pump) check ketones levels, remember to drink plenty of fluids to prevent dehydration and to flush out ketones.. If blood glucose has returned to normal, keep checking ketones level to ensure that they are reducing, if they fail to reduce then contact the hospital/doctor for futher advice..