Tests

Initial tests.

Spoke to Mr. Zhang, he said he preferred the tests in mocha.

It would be cool too, if you serve the tests on peerjs.com and have a 'go here to see if your browser is compatible' type of page too.

I wrote tests mostly for adapter, and util.
Didn't want to spend time writing more tests, wanted to get feedback first.