Add unit tests for 'deps.js'