Yeah I kind of figured the issue you where having was not with our program which is why I asked to look. The error was with a vbulletin database table that our program does not deal with.
You can have a closed test site that is permissible on a license provided it is not web accessible.
My comment about renewing a license which you brought up to begin with is if you have multiple sites and multiple licenses which you indeed do. You can not use code say from site A and then use that code to also upgrade site B which has a license expired for the current code. That would be a violation because for example the site your showing expired for code access 2 years ago. Not a big deal I know you will take care of it.