Adapt all our tests and examples to the new initialization api.
These are just some basic sanity tests.