It's weird. I had issues with creating SwitchIdentityTestCase in AS7 testsuite and I was convinced it's related to this. But I'm not able to reproduce it now. So I'll change it back. Sorry.