[promise] refactored tests to take into account RBResolver object