restructured dependencies for list and list-mask
unit test for util.empty()