RF+BF: fix doc tests