added tester for neural nets