These tests should use a data provider to reduce duplication.