Store more discount meta and add more tests for discounts