Test improvements

Add numdiff tester.