Sharable Receiver base class for Subscriber (#29)

The tests are almost identical and refactoring the common part to a separate function is easy. You just need a function that takes two 4 parameters, the port number for each receiver and the expected state of gotOne and gotTwo after each receive.