new test routines, test routine does the job
added NNRoutine for comparison