Added tests and EJSON.minify + EJSON.maxify