You must take the language test before you get ITA. If you have already received ITA, you need to turn down the ITA and take a language test first - otherwise your application is going to be refused - and you may even end up with a misrepresentation ban.