Testing database on tests