Fix doctest code by adding interpreter responses

Used the ```#random``` tag... let's see if that works.  Just the same, I think
this funciton isn't behaving properly...