Added test for persistent undo

Not all the servers I inhabit supports persistent undo. This patch takes care of that situation.