fix and test the new assoc API