Fixing ArmoryDTest.
Fixed bug in the test
And one bug in BDM.py.