Hello and welcome!
Sorry to hear of your tale so far. Do you still have the fault codes from when you had it in for a diagnostic? Are the same fault codes showing now after the turbo replacement?
Who did the turbo replacement work?
When you say it won't rev past 2500rpm, is that exactly the symptom, or is anything else going on, eg its running really poorly / misfiring/ lumpy tickover, or it will rev beyond 2500 but no power?
It sounds to me as if it's still in limp-home mode, which makes me wonder if you've got a boost leak somewhere. Is the intercooler ok? Any pipes loose, or split, or incorrectly fitted? These can all cause problems.
Incidentally, was there anything wrong with the old turbo when it came off? Was it checked?