added DnnTest to generate output for given data using weights of a trained network