I prefer to have teardown function placed just after setup. Then you can easily check that the teardown is correctly undoing the things that setup puts in place.