improved testing on request factory.