Added dbntest module
added dbntest.py and fixed some syntax errors in dbn.py