added more unittests to convnet implementation