test: add initial mocha tests
add Range-specific overloads of the 3 functions