Tests require

Working followup to #11. Implements #8.