Added decorators that sets the setup & teardown for a specific function test case.

Replaces pull request #89.