I've buy two esp-07 from ebay. They are from "ai-thinker" according to the metal shield and have 16 pins (there is another board with 14 pins).
Using NodeMCU, I found that GPIO4 and GPIO5 are inverted. Pin 1 is for GPIO 4, pin 2 for GPIO 5.
It's not firmware problem, pin map is correct, so I think it's just label on board that is wrong. Metal shield prevent from checking wires.
Actual label (bottom view):
TX || REST
RX || ADC
G4 || CH_PD
G5 || G16
G0 || G14
G2 || G12
G15 || G13
GND || VCC
should be:
TX || RST
RX || ADC
G5 || CH_PD
G4 || G16
G0 || G14
G2 || G12
G15 || G13
GND || VCC
(sorry if bad english, I'm french)