Add constant-time set, xor, neg tests