Added a test for regression: '-s 0' would cause a crash.