added lots of tweaks to DBN tests, along w new unit test for TestLogisticRegressionLayer