Added tests for mnistplus.py, and several bugs in that file fixed.