Added earthquake example and tests.