Dynamically configure requirejs packages in karma test main.