#2 Adding the unit test. Unit Tests for the loader.js file