use TEquals for view_compaction.js
fix view_compaction.js test