Added rest of complexBinaryTest