Improved stubs

Some small improvements to the stubs:

- Allow stubbing non existing variables
- Introduce `unstub`, `unstub_var` for early stub cleanup of specific stub.
- Introduce `emit test_unstub` for early stub cleanup of all stubs.
- Test the stubbing