added more unit tests for neuralnets