keep asts/ in .back if compilation fails

- Addition of a very simple test for the plugin
- Put old asts/ folder in .bak while compiling in case the compilation fails
- Restore it if needed at the end.