No. You can buy only one license key per public site and use it for localhost and your staging site. Your test site url has however to match:
All urls matching the rules above will not be counted against your limit of sites. If you have any problem, please contact our support.