added first specs for lib/worker.js