Made ShowContactsTest and ShowPermalinkTest work with new test db