Fix tests failing when an adapter isn't present