add new integrity check for coded lists, speed up tests