Testing onSaveButtonClicked.