snapshot before test