The test might fail but Aloha won't properly initialise in the Directive without this line. Then it becomes a race-condition and sometimes it might load and sometimes it might not.
If the test fails because of this line the test is wrong and not the code.