tests: Replace tests with env-tests.js