fix spurious test failure by actually requiring dependencies properly