changing test system to Mocha for client/server compatibility; adding range and other functions. Functions now return values, not self. Removing shared hooks to util functions