Use prog-mode-hook to enable yasnippet
Add compilation-error-regex for package testify
add local yasnippets