importing neural network libraries fix, tests updated