test('Component is rendered with role="button"', async () => {
  renderComponent();
  const button = screen.getByRole('button', { name: 'Export as PDF' });
  expect(button).toBeInTheDocument();
});