added comparison tests between C implementations