How theme licensing works? Am I allowed to install the theme in a test environment prior to the official website?

Regarding to ThemeForest rules each theme purchase license is valid for only one domain and to install it in another domain you’ll need another purchase code.

Do not hesitate to contact us if you need more information.