finished specs for lib/worker.js