Fix broken unit test by specifying the order of loading scripts in karma.conf