add a unit test for earthquake service.
setup functional tests