Some snapjam modification.
Refactoring for Accounts and SLM testsuites.