Method nearTen added.
Tests for method nearTen added.