Update loader tests so that they do not use array methods that don't exist in ie < 9.

	modified:   tests/unit/assets/loader-tests.js
	modified:   tests/unit/assets/pathogen-encoder-tests.js