I thought the tests were independent of each other. And the function creates a new instance for each test. But it turns out that the component is instantiated once and used in a