test snapshot