Added more Python assert snippets

Removed delayed for ESC (mostly in insert mode)

Added RunPerlTest function