Clean up and add tests for bc-util-list-join