Add test cases and change block dispatching

Started to add test cases
Success/failure/progress blocks are dispatched on global queue
Added removeDirectory