Added 3 test cases generated from defects.

Added test cases related to defects so that we can catch regressions.