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

Only this time to the right release branch! *facepalm*.