integration test for saving a status