Relates to #417
Also reformat unit test to add test names so it's easier to track individual test cases in the table-driven test. Increases test coverage in peerconnection.go. Enough for us to merge? Relates to #408
Relates to #408