Merge pull request #11 from pthedinger/master

Fixing bug 15174.
Merge pull request #12 from pthedinger/master

Added regression test file
Add link down/up and connection state checks.

Add the analyser which controls the relay to the topology. Add tests which drive the relay and check the expected state.