Fix bugs, add features (monitor/get/dequeue/requeue), more tests