“So, in a court of law, can the state now compel you to testify against your spouse?”
Depends. Did you get the states permission to wed? Or did you really live dangerously, leave big brother out of it and have an ecumenical ceremony that actually mean’t something to you and your spouse?
That's a non-answer. Again, slower: can ... the ... state ... compel ... court ... testimony ... against ... a ... spouse?