Integration tests: Moves re-usable parts of TestLinkTestCase to class in common.