Update account factory in spec with recent db changes