Added unit tests for ItemDialogModel