Test sites allowed
Yes, test sites are OK. The license activation will allow you to receive automatic updates from within your WordPress dashboard so you only need to activate it on the live site.
Deactivating a license key
If you already activated it on the test site, simply click Deactivate in the License activation tab and you’ll be able to use it on your live site.