Add examples and more elaborate test-suite.