make sure we know the order of expected subscribe/unsubscribe messages
fix pep8 environment, explicit python versions and require pytest>=2.5