snapshot before testing