Finalized work

* Rounded $timeout for BLPOPs
* Added error on invalid $interval value
* Added test for invalid $interval
* Addressed work(0) tests
* Revised inline documentation