Tests: Move #define outside of macro call for God of Thunder XOR/cleartext

This prevents MSVC++ compile errors.
Use signed types when passing signed values