Harmonized test suite

This is a small PR that harmonizes the tests with torch7, cutorch and nn such that it can be called like:
```lua
th -lcunn -e "nn.testcuda{'copies'}"
```