Implemented benchmark tests, run with: npm run benchmark