refac to accept table name parm required by testing
unit test classes