Integration testing for CommandAdd, commandDelete,  CommandEdit
fixed minor bugs seen during testing