Hi,
Please find attached a patch that adds basic regression tests for DISCARDcommand.
Any and all feedback is obviously welcome.--Robins Tharakan