[nnet] Unit-tests are added for class 'network'; [nnet.sync] Unit-tests for various solvers are added + cosmetic changes