Yes, OS licensing is really a very sensitive issue even for testing environments. It is beeter to use 'Trial Version' of required OS in testing phase.This even reconfirms the guidelines and compatibility for both the Products/ Solutions jointly.
Ashutosh