Western Australia's warehouses could be tested after weekend flooding damaged the TransAustralian Railway.