add snapshot test for mysql, postgresql and mongodb