Added test for '--allow-empty'.