Adapt unit test to DAL change, fix typo