Testing the contingency theory of accommodation in public relations