Place undefined test around google.maps code so tests don't blow up.