test and tweak snapshot functionality