added more unittests, and modified cifar-10 to make sure input is mean 0