Added examples.
Added unittest for TestCase