Testcases for componentmodel. Automaticly run examples.