Added tests for --exclude-empty