inversion test