replace test with benchmark.js