Add tests for discount percentage validation