@skaash
Very harsh for them to have got your hopes up to then shoot you back down. Although, if I had been in that situation, I probably would have called to clarify before booking if I hadn't even had a CTC interview and failed their apt test.
I would attempt to claim your travel and accom costs back off them, wouldn't hold your breath though - but if you don't ask...