Refactor the code
Add unit tests' fixtures to 'exclude files'
Fix 'addBlock' method
Add unit tests for 'deps-resolver.js'