Unittest request factory