Test with_ifempty