Add pytest as testing requirement.