Kinematical tests for the intrinsic shapes of galaxies