Added a nearest neighbor scaling test.

(for demonstration of using this in bitfive mostly)