fix Availability check is done with production environment regardless of test config