Some fixes.

Removed a global in the test, making the deployment fail.

Also updated the templates of the framework (both library and test).