Cleaning up tests and client