add some more doctests, instance_plan is obviously broken
fixed instance plans