The beginnings of reformulating the database tests into working unittests.