add test method TestGetTableNameWithoutAttr