unit tests for new list permission functions (wip)