tests for expired and unknown discount codes