added MNISTLabelFile and tests