JR Z flags tests