add extra test case in the test_constructor_str_infer_reso
- [x] closes #51025
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).

An extra test case is added to `test_constructor_str_infer_reso`  to check `Timestamp('300-01-01')`.

I suggest doing a parametrization for this test.
Looks good thanks, if you mark as ready for review we can get it in