Updated tests and some examples.