If I buy a single license can I use it on a domain test and move it on an official domain?

Sure, you can do this. What you need to do is to deactivate the license from our old site and activate it on the new one.