Fixing co-occurrence test