Created testutil and interfaces to persistence