tests: Test on multiple JavaScript environments