Test file for j2k thread mutex bug