added ability to add dependencies to requests
fixed some bugs with dependency failure handling
fixed tests; removed debugging output