Refactoring of only Binary layer unit tests for DBM.
Scaled back refactoring for this PR for test_dbm.py, limiting it to BinaryVector visible layer.  Other refactorings will follow pending a successful pull, followed by Ian's new tests.