Test preSetup and preTeardown callbacks