changes on save and test button