Fix unit test broken by previous commit