Add case to test the option of exclude-from-image