created request factory for beeing able to test