Don't repoll if everything fits into buffer;
Use EJSON.equals
Better comments
fix tests' setsEqual