just before test