Renamed variables from emptyOption to emptyItem
Added tests