Australia's new CGT regime contains a trap almost nobody is talking about: one day of foreign resident status during the testing period can deny…