Compactness test of sand casting after molding by molding machine