Add reference for TestCase class to docs
Update test sample to use namespaces and extend the TestCase class