add a py.test TestCase class snippet