Merge pull request #8 from pveller/master

Refactor FakeLinkDatabase to encapsulate changeable behavior and introduce LinkDatabaseSwitcher