Wow, good amount of misinformation in this thread.
The reg says that you can take the ATP test for upgrade at a 121 carrier with an expired ATP written.
It does not say anything about what carrier you were at when you took it or if you switched carriers or if you were wearing a blue polo when you took the written test but want to take the practical in a red tshirt.