Fixed bug for Edit Command

> Also added Test Case for testing of edit tags