Test app retrieves the port from env var