Add unit tests for device server logging
This adds some tests, to help validate !431 (closed).
Under Windows (AppVeyor) we see some more gevent failures, so we are ignoring those. More details about that here.
There is also a minor change to the paths used by pytest, due to changes in v7. See commit message for 8dc3f71e.