Improved list-separator function tests