Added 8 teste cases which was generated from the defect.

Created test cases for the defect which I verified recently. These test cases are written using new Command framework.