add a better test for local or production domain for healthdata.api