Added new tests and examples.