Modifications to test cases.

Implementing DiscardTest