updated two label unit test in MNIST DBN