Added tests for changes in advance().