update tests to use rq
handle task error