added perf timing test to DBN unit test to measure MNIST batch pretrain times