added spec for location class
aded env variables to travis config