fixing bug in jal test