Fixed hasDiscount when 100% discount applied

Not sure if I've done this correctly. This is my first contribution, just a small one.

I have an instance where I have a 100% coupon applied to an invoice, hasDiscount() is returning false in it's current form
There should be two blank lines between test methods.