test_nanshe_learner: Added a test for generate_neurons_a_block from nanshe_learner. This fixes #119.