Added integration tests

I cleaned up my own tests to not rely on unix_dgram (which I actually need, however).