Earthquake testing