add table name helper modifed method and test class