TEST: fix CheckTablesTest