Added some basic unit tests for the nnet.core.imageproc module.