Running the FD 18 tests, it looks like the test is expecting the carry flag to be set, but it isn't.
Here is the output from my test runner if it helps...
Test: FD 18 0000 RAM: 3B Operations: 65536 Result: [ FAIL ]
Initial Expected Actual
PC: 0xBBBA PC: 0xBBBB 0xBBBA
SP: 0xF94E SP: 0xF94E 0xF94E
A : 0x39 A : 0x39 0x39
B : 0x41 B : 0x41 0x41
C : 0x92 C : 0x92 0x92
D : 0x4A D : 0x4A 0x4A
E : 0xD1 E : 0xD1 0xD1
H : 0x4F H : 0x4F 0x4F
L : 0x28 L : 0x28 0x28
I : 0xFD I : 0xFD 0xFD
R : 0x5D R : 0x5F 0x5C
IX: 0x4354 IX: 0x4354 0x4354
IY: 0xFFB8 IY: 0xFFB8 0xFFB8
F : XHX F : XHX XHX
RAM differences: NONE
SOPSET 0xFD
JR C, e PC: 0xBBBB SP: 0xF94E Flags: XHX
PC: 0xBBBD SP: 0xF94E Flags: XHX
NOP PC: 0xBBBD SP: 0xF94E Flags: XHX
PC: 0xBBBE SP: 0xF94E Flags: XHX
Steve.