Added ifnotempty tag.
Added test for ifnotempty tag.