[MAINT]: Partially move test_conftest to test__deprecation
#2262
+53
−44
test_conftest to test__deprecation
#2262