Testing for Queue.

Made Queue public for compatibility with XCTest.
Changed the protocol names for the channel endpoints.

The names still feel weird, but less than before.