improve tests add table management
improve tests add table management