Fixed request factory tests