Fixed unit tests of updateStatus method.