function assertLoaded(expected) {
  for (var i = 0; i < testDependencies.length; i++) {
    assertEquals(expected >= i, testDependencies[i].loadCalled);
  }
}
Asserts all test deps up to and including the expected index have loaded,
and anything past that has not.

@param {number} expected