TST: added metadata pass-through test for table_factory
Merge pull request #344 from wasade/issue_340

TST: added metadata pass-through test for table_factory