* updated test by adding delay to leave time for the server to react.