api test: adding port env var.