add proper sanity_checks & runtest for libjpeg-turbo

Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>