Copy over cuda/tests/test_nnet.py to gpuarray/tests/test_nnet.py