add jUnit test to test bi-direction links