short-circuit test