fix test. Possibility of second task getting the rejection exception is removed