update testing-library/react to the latest version. This requires updated some tests to not use deprecated testing APIs.