Hmm, looks like a weird case then. I was convinced it should help based on the error message. I'd recommend you write to support at support@kentico.com, probably they could help in your case.
But if this is happening only on one test environment, I would probably have tried to redeploy it completely, making sure no dlls or Temporary ASP.NET Files cache files are left behind.