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.