Trainer constructor tests

- Corrected test reseting in neural_network_test and data_generation/index_test
- Corrected Git ignore for neural_networks JSON data