test phonegap 3 undo