Strategies for testing my application

I’m trying to write some tests for my application where all of the mediasoup interaction is via webRTC.

Is it at all possible to create producers (and ideally consumers) in NodeJS? If yes, are there any examples that anyone can point me to?
Alternatively, are there better approaches that I should be looking into for testing? I’ve heard of Kite, but ideally, I’d like to write up some basic tests involving just one or two producers and consumers, to make sure that a) my logic is right and b) I don’t introduce regressions.