change http capability check in testing