Refactored require so that we can use AMDManager
Added tests