db/app unit testing