fix test for asynchronous saving