adding unit test for angularAMD-karma