modified the test in order to check if optional dependency callbacks are invoked after the start method