Fixed system maintenance unittest.