A consistent modification of a test for independence based on the empirical characteristic function

A modification of a test for independence based on the empirical characteristic function is investigated. The initial test is not consistent in the general case. The modification makes the test always consistent and asymptotically distribution free. It is based on a special transformation of the data.