Adding deprecation assertions for proper_table_name.

This prevents deprecation warnings from popping up.
Merge pull request #12008 from wangjohn/skipping_deprecated_migration_tests

Skip tests using deprecated +proper_table_name+ method.
Extracted from `order` processing of arguments, and use it for `reorder` to be consistent.