Fix unit test to match the current style of apt.