Test Method Fixed. "byte" type in java is in range -128 to 127, so comparing it with 255 does not make sense.