Added automatic test script for DBN