[flat discount] fixed test cases for stock entry