added the failing tests for the module load order bug
fixed the module load order
Merge pull request #1 from devatwork/fix-module-load-order

fixed(module load order)