test_nanshe_learner: Added a test for generate_neurons_blocks from nanshe_learner. This fixes #120.