Yes, you do need to generate a separate license for your test / staging environment, however these are available free for commercial license holders.
The license holder will simply need to login to their My.Atlassian account to generate the license (there are step by step instructions at https://www.atlassian.com/licensing/purchase-licensing#licensing-9).
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG