TST: test_period: Exception --> ValueError