test for after submission or saving