add user hooks to notify start and end of test cases

Hi,

We use your framework and needed to run code before starting and after ending a test case. Concretely, this allowed us to perform memory leak validation between each test. This is something we wanted globally, so fixtures would not have been suitable for us.

Hopefully, this is something you might like and accept to include in your framework.

Thank you