Can I use a wordpress plugin on a test site, the move to my actual site?

I’d like to start testing a wordpress plugin now, but on a test/development site. My plans would then be to remove it from the test site and then deploy it on the live site. Is that possible with just one license?

Thanks!

One license would be enough if you follow that way