Implement testcase where raising price immediately ends current promotion. Refactor code a little by adding some comments