There is an old and very imperfect study which suggests that tren is rather fragile.
Anyway, to answer your question, I consider a 5 year old vial of test to be just as good as one that is 6 months ago.
I've actually heard of guys using vials of gear from the 70s.