wrote unit tests for lib/gearsloth.encodeTask()