Setup and tear down methods in tests.