add tests for bytesToMeg()
add tests for nsLookup()
minor stuff
fix documentation