A solution about test of enterprise library