Implemented Q-Unit tests for deletion and editing