Add support for test framework, browser, and node envs