Fixed a critical error which caused infinite loop in the BP algorithm.
Added some serial tests for some real DAG (Gnutella and Emails).