If there is only one chapter then that chapter must be the "current chapter" and deleting the current chapter results in a different series of actions than deleting an old chapter.  (Though there was still a problem with the test, and that should be fixed now)