Fix demo test failure