Detecting Gravitational Waves of Alternative Theories Using Pulsar Timing