Runs a function after each test.This is useful for running clean up tasks, like closing a socket or deleting temporary files.